#include "string.h"

int main()
{
    return 0;
}

inline String::String(const char* cstr = 0)
{
    if(cstr)
    {
        m_data = new char[strlen(cstr) + 1];
        strcpy(m_data, cstr);
    }
    else
    {
        m_data = new char[1];
        // m_data[0] = '\0';
        *m_data = '\0';
    }
}

inline String::~String()
{
    delete[] m_data;
}